package com.xsh.gls.service.impl;

import com.xsh.gls.mapper.SalesmanMapper;
import com.xsh.gls.pojo.Salesman;
import com.xsh.gls.service.SalesmanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SalesmanServiceImpl implements SalesmanService {
    @Autowired
    SalesmanMapper salesmanMapper;
    public Salesman selectByPrimaryKey(Integer id) {
        return salesmanMapper.selectByPrimaryKey(id);
    }

    @Override
    public String queryareaById(Integer id) throws Exception {
        return salesmanMapper.queryareaById(id);
    }
}
